import request from "@/utils/request";

export function createProject (data) {
    return request({
        url: '/project/create',
        method: 'post',
        data: data
    })
}

export function deleteProject (id) {
    return request({
        url: '/project/' + id,
        method: 'delete'
    })
}

export function getProject () {
    return request({
        url: '/project/listAll',
        method: 'get',
    })
}
